<?php

/**
 * @author Laurent SITTLER <lolo.sittler@gmail.com>
 * @author Alexandre GOMEZ <gomez.alexandre02@gmail.com>
 * @version 0.1
 */

/**
 * Tab Class
 */
class Tab {

    /**
     * Constructor
     */
    function __construct() {
        $this->m_id = 0;
        $this->m_name = NULL;
        $this->m_icon = NULL;
        $this->m_page = 0;
    }

    /**
     * Set attributs Object
     * @param Integer $id
     * @param String $name
     * @param String $icon
     * @param Integer $page
     */
    public function SetTab($id, $name, $icon, $page) {
        $this->m_id = $id;
        $this->m_name = $name;
        $this->m_icon = $icon;
        $this->m_page = $page;
    }

    /**
     * Get ID
     * @return integer
     */
    public function GetID() {
        return $this->m_id;
    }

    /**
     * Get Name
     * @return String
     */
    public function GetName() {
        return $this->m_name;
    }
    
    /**
     * Get Icon
     * @return String
     */
    public function GetIcon(){
        return $this->m_icon;
    }

    /**
     * Get ID Page
     * @return Integer
     */
    public function GetPage() {
        return $this->m_page;
    }

    /**
     * ID
     * @var Integer 
     */
    private $m_id;

    /**
     * Name
     * @var String
     */
    private $m_name;
    
    /**
     * Icon
     * @var String
     */
    private $m_icon;

    /**
     * ID Page
     * @var Integer
     */
    private $m_page;

}